﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyLab.Interfaces.Repositories
{
    public interface IRepository<T> where T : class
    {
        void Add(T t);
        void Delete(T t);
        void Save(T t);
        IEnumerable<T> FindAll(Predicate<T> exp);
    }
}
